package com.rtline.business.convert;

/**
 * <p>UserMapper .
 *
 * <p>change history:
 *
 * <pre>
 * date         defect       person          comments
 * --------------------------------------------------------------------------------
 * 2025/6/1    ********     Tao Ren    create file.
 * </pre>
 *
 * @author Tao Ren
 * @date 2025/6/1 20:18
 */

import com.rtline.business.model.UserEntity;
import com.rtline.business.vo.UserVo;

import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface UserConvert {
    UserVo toDTO(UserEntity entity);

    UserEntity toEntity(UserVo dto);
}
